<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page isELIgnored="false"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>影视信息</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="${pageContext.request.contextPath}/styles/style.css"
	rel="stylesheet" type="text/css" />
<noscript>
	<meta http-equiv="refresh" content="5;url=nojs.html">
		<div style="text-align: center; color: red;">对不起！请启用js才能正常浏览！</div>
</noscript>
<sx:head />
</head>
<body>
	<div class="main">
		<div class="header">
			<div class="block_header">
				<div class="logo">
					<a href="${pageContext.request.contextPath}/jsp/getfilmlist.action"><img
						src="${pageContext.request.contextPath}/images/logo5.jpg"
						width="401" height="145" border="0" alt="logo" /></a>
				</div>
				<div class="menu">
					<ul>
						<li><a
							href="${pageContext.request.contextPath}/jsp/getfilmlist.action"
							class="active">首页</a></li>
						<li><a
							href="${pageContext.request.contextPath}/jsp/getyitongfilmlist">移通影讯</a></li>
						<li><a
							href="${pageContext.request.contextPath}/jsp/getallfilmlist">影视列表</a></li>
						<li><a
							href="${pageContext.request.contextPath}/jsp/aboutus.jsp">关于我们</a></li>
						<s:if test="#session.user!=null">
							<li><a
								href="${pageContext.request.contextPath}/changeuser.action">
									<s:property value="#session.user.us_nickname" />:的账户
							</a></li>
							<li><a
								href="${pageContext.request.contextPath}/loginout.action">登出</a></li>
						</s:if>
						<s:else>
							<li><a
								href="${pageContext.request.contextPath}/jsp/regist.jsp">加入我们</a></li>
							<li><a
								href="${pageContext.request.contextPath}/jsp/login.jsp">登陆</a></li>
						</s:else>
					</ul>
				</div>
				<div class="clr"></div>
			</div>
		</div>
		<div class="slider2">
			<div class="slider3_resize">
				<h2>电影资料</h2>
			</div>
			<div class="clr"></div>
		</div>
		<div class="clr"></div>
		<div class="body">
			<div class="body_resize">

				<div class="box">
					<h2 class="movie">
						<strong>${film.fi_name}<label id="play_status"></label></strong><span
							id="operate_link"></span>
					</h2>
					<div id="picture">
						<img src="${pageContext.request.contextPath}/${film.fi_image}" />
						<br />
					</div>
					<div id="favorite">
						<img id="shoucang_loadingImage"
							src="${pageContext.request.contextPath}/images/loading.gif"
							style="display: none" />
						<s:div id="sxa" style="color:red"></s:div>
						<s:url id="shoucang_s" action="addCollection">
							<s:param name="film.fi_id">
								<s:property value="film.fi_id" />
							</s:param>
						</s:url>
						<sx:a targets="sxa" indicator="shoucang_loadingImage"
							href="%{shoucang_s}">添加到我的收藏 </sx:a>
					</div>
					<div class="list">
						<ul class="list">
							<li><span>年代：</span><strong>${film_releasetime}</strong> <font
								class="f5">
					类&nbsp;&nbsp;&nbsp;&nbsp;型：</font>
					<s:iterator var="filmtype" value="film.film_type">
					/${filmtype.ty_name}
				    </s:iterator></li>
							<li><span>地区：</span><strong>${film.fi_country}</strong></li>
							<li><span>语言：</span>${film.fi_language}</li>
							<li><span>编剧：</span>${film.fi_screenwriter}</li>
							<li><span>导演：</span>${film.fi_director}</li>
							<li><span>主演：</span>${film.fi_actor}</li>
							<li><span>评论次数：</span>${film.fi_comments}</li>
							<li><span>简介：</span> <br />
								<p style="display: inline;" id="description">${film.fi_jianjie}</P>
							</li>
						</ul>
					</div>
				</div>

				<div class="bg"></div>
				<s:iterator value="film_comment_set" var="film_comment">
					<div>
						<p>${film_comment.user.us_nickname}:${film_comment.sc_countent}---${film_comment.sc_time}
						</p>
					</div>
					<div class="bg"></div>
				</s:iterator>
				<div class="comment">
					<h2>评论</h2>
				</div>
				<img id="loadingImage"
					src="${pageContext.request.contextPath}/images/loading.gif"
					style="display: none" />
				<s:div id="commentDiv" style="color:red">
				</s:div>
				<s:form action="addComment" method="post">
					<s:textfield name="film.fi_id" style="display:none"></s:textfield>
					<s:textarea id="content" cols="50" rows="8"
						name="comment.sc_countent"></s:textarea>
					<sx:submit targets="commentDiv" showLoadingText="false"
						indicator="loadingImage" value="提交" />
				</s:form>

			</div>
		</div>
		<div class="FBG">
			<div class="Fbg_resize">
				<div class="Twitter">
					<p>
						<img src="${pageContext.request.contextPath}/images/teacher.jpg"
							alt="picture" width="129" height="96" />
					</p>
					&nbsp;
					<p>
						<strong>指导老师</strong><br />
					</p>
					<p>就是我啦，哈哈哈哈</p>
				</div>
				<div class="con">
					<h2>关于我们</h2>
					<ul>
						<li>移通电影院</li>
						<li>重庆市合川区假日大道 1 号</li>
						<li>咨询电话: + 134 5286 5323</li>
					</ul>
					<ul>
						<li>服务QQ:812918458</li>
						<li>E-mail:fuyao81145676@sina.cn</li>
					</ul>
				</div>
			</div>
			<div class="clr"></div>
		</div>
		<div class="footer">
			<div class="resize">
				<p class="footer_logo">&nbsp;</p>
				<div>
					<p>©2012 重庆邮电大学移通学院</p>
					<a href="${pageContext.request.contextPath}/jsp/aboutus.jsp">关于我们
					</a>
				</div>
			</div>
			<p class="clr"></p>
		</div>
	</div>
</body>
</html>
